<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@page import="com.globalresources.commons.Constant" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head><title>sign Documents Result</title></head>

	<style type="text/css">
	<!--
	body {
		margin-left: 0px;
		margin-top: 0px;
		margin-right: 0px;
		margin-bottom: 0px;
		background-color: #EEF2FB;
	}
	-->
	</style>
	<link href="../images/skin.css" rel="stylesheet" type="text/css" />
<body >
	<form id="signDocument" name="signDocument" action="signDocument.action" method="post">
	<table width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr>
			<td>
			 <table width="100%" border="0" cellpadding="0" cellspacing="0">
			 	<tr>
			 		<td width="17" valign="top" background="../images/mail_leftbg.gif"><img src="../images/left-top-right.gif" width="17" height="29" /></td>
				    <td valign="top" background="../images/content-bg.gif">
				    <table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
				      <tr>
				        <td height="31" background="../images/">
				       → UnSigned Documents to Sign, sign result&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				       <a href="../document/listUnSignDocuments.action">List UnSign Documents</a>
				     </td>
				      </tr>
				    </table></td>
				    <td width="16" valign="top" background="../images/mail_rightbg.gif"><img src="../images/nav-right-bg.gif" width="16" height="29" /></td>
			 	</tr>
			 </table>
			</td>    
		</tr>
		<tr>
			<td>
				<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#F7F8F9">
						<thead>
							<tr bgcolor="#deedf2">
								<th width="17" background="../images/mail_leftbg.gif"><img src="../images/mail_leftbg.gif" width="17" height="17" /></th>
								<th width="20" >
								 <input id="select_all" type="checkbox" onClick="selectAll();">
								</th>
								<th align="left" >
									Patient
								</th>
								<th align="left" >
									Hospital Name
								</th>
								
								<th align="left"> 
									Received time
								</th>
							
								<th width="16" background="../images/mail_rightbg.gif"><img src="../images/mail_rightbg.gif" width="16" height="17" /></th>
							</tr>
						
						</thead>
						<tbody>
					
					
							<s:iterator value="failureSignDocuments">
								   <tr>
									<td width="17" background="../images/mail_leftbg.gif"><img src="../images/mail_leftbg.gif" width="17" height="17" /></td>
                                   <td>
			                      <input id="documentCheckBox" type="checkbox" value="<s:property value="id"/>" checked>
			                      </td>
									<td align="left">
										<a href='../document/showUnsignDocumentFirst.action?id=<s:property value="id"/>&type=unsign'>
<s:if test="isView==0">
      <b>
      <s:property value="patient" /> 
      </b>
</s:if>
<s:else>
 <s:property value="patient" /> 
</s:else>
										
									
										 </a>
									</td>
									<td align="left">
									<s:if test="isView==0">
      <b>
    <s:property value="hospital.name" />
      </b>
</s:if>
<s:else>
 <s:property value="hospital.name" />
</s:else>
										
									</td>
									<td align="left">
								<s:property value="createTime" />
										
									</td>
									<td width="16" background="../images/mail_rightbg.gif"><img src="../images/mail_rightbg.gif" width="16" height="17" /></td>									 
								</tr>
							</s:iterator>
						<tr align="right">
								<td width="17" background="../images/mail_leftbg.gif"><img src="../images/mail_leftbg.gif" width="17" height="17" /></td>
								<td colspan="4" bgcolor="#d5dfdf" align="left">
							 Success Sign Documents
								</td>
								<td width="16" background="../images/mail_rightbg.gif"><img src="../images/mail_rightbg.gif" width="16" height="17" /></td>
							</tr>	
							
							
								<s:iterator value="successSignDocuments">
								   <tr>
									<td width="17" background="../images/mail_leftbg.gif"><img src="../images/mail_leftbg.gif" width="17" height="17" /></td>
                                   <td>
			                      <input id="documentCheckBox" type="checkbox" value="<s:property value="filePath"/><s:property value="user.id"/><%=Constant.fs%><s:property value="filename" />" checked>
			                      </td>
									<td align="left">
										<a href='../document/showUnsignDocumentFirst.action?id=<s:property value="id"/>&type=unsign'>
<s:if test="isView==0">
      <b>
      <s:property value="patient" /> 
      </b>
</s:if>
<s:else>
 <s:property value="patient" /> 
</s:else>
										
									
										 </a>
									</td>
									<td align="left">
									<s:if test="isView==0">
      <b>
    <s:property value="hospital.name" />
      </b>
</s:if>
<s:else>
 <s:property value="hospital.name" />
</s:else>
										
									</td>
									<td align="left">i
								<s:property value="createTime" />
										
									</td>
									<td width="16" background="../images/mail_rightbg.gif"><img src="../images/mail_rightbg.gif" width="16" height="17" /></td>									 
								</tr>
							</s:iterator>
							
							
						
							<tr align="right">
								<td width="17" background="../images/mail_leftbg.gif"><img src="../images/mail_leftbg.gif" width="17" height="17" /></td>
								<td colspan="4" bgcolor="#d5dfdf" align="left">
							 &nbsp;&nbsp;&nbsp;
								</td>
								<td width="16" background="../images/mail_rightbg.gif"><img src="../images/mail_rightbg.gif" width="16" height="17" /></td>
							</tr>
						</tbody>
					</table>
			</td>
		</tr>
     
		<tr>
			<td>
			 <table width="100%" border="0" cellpadding="0" cellspacing="0">
			 	<tr>
			 		<td width="17" valign="top" background="../images/mail_leftbg.gif"><img src="../images/buttom_left2.gif" width="17" height="17" /></td>
				    <td valign="top" background="../images/buttom_bgs.gif"><img src="../images/buttom_bgs.gif" width="17" height="17"></td>
				    <td width="16" valign="top" background="../images/mail_rightbg.gif"><img src="../images/buttom_right2.gif" width="16" height="17" /></td>
			 	</tr>
			 </table>
			</td>    
		</tr>
	</table>
		</form>
</body>
</html>
